// TableInfoType.cpp : implementation file
//

#include "stdafx.h"
#include "pdarx.h"
#include "TableInfoType.h"

#include "drawtable.h"
#include "tabs.h"

#include "writetabledata.h"
#include "CommandType.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

#include "pipinit.h"

/////////////////////////////////////////////////////////////////////////////
// CTableInfoType dialog


CTableInfoType::CTableInfoType(CWnd* pParent /*=NULL*/)
	: CDialog(CTableInfoType::IDD, pParent)
{
	//{{AFX_DATA_INIT(CTableInfoType)
	m_idweiyi = FALSE;
	m_bLjkxl = FALSE;
	//}}AFX_DATA_INIT
	::AfxSetResourceHandle(g_ARXInstance);
}


void CTableInfoType::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CTableInfoType)
	DDX_Check(pDX, IDC_BENDTABLE, m_bBendTable);
	DDX_Check(pDX, IDC_ENDPOINTANCHORSTABLE, m_bEndPointTable);
	DDX_Check(pDX, IDC_MATERIALTABLE, m_bMtTable);
	DDX_Check(pDX, IDC_MAXSTRESSTABLE, m_bMaxStressTable);
	DDX_Check(pDX, IDC_PHSTABLE, m_bPhsTable);
	DDX_Check(pDX, IDC_PIPEPARAMETERTABLE, m_bPipeParamerTable);
	DDX_Check(pDX, IDC_SIGNTABLE, m_bSignTable);
	DDX_Check(pDX, IDC_ENDPOINTDIS, m_idweiyi);
	DDX_Check(pDX, IDC_LJKXL, m_bLjkxl);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CTableInfoType, CDialog)
	//{{AFX_MSG_MAP(CTableInfoType)
	ON_WM_CREATE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CTableInfoType message handlers

BOOL CTableInfoType::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	m_bBendTable = true;
	m_bEndPointTable = true;
	m_idweiyi = true;
	m_bMtTable = true;
	m_bMaxStressTable = true; 
	m_bPhsTable = true;
	m_bPipeParamerTable = true;
	m_bSignTable = true;
	m_bLjkxl = true;
	UpdateData(false);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

AcGeMatrix3d ucsV();

void CTableInfoType::OnOK() 
{
	// TODO: Add extra validation here
	
	CDialog::OnOK();
	
	

}


int CTableInfoType::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CDialog::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	// TODO: Add your specialized creation code here
	
	::AfxSetResourceHandle(g_CADInstance);
	return 0;
}
